#{extends 'main.html' /}
<div id=main>
Community name: ${community.name} Community
<br>
Community subscribers: ${community.subscribersToCommunity.size()} user
<br>
<form action="@{Communities.addUser(community.id)}" method="post">
	Enter the user email you which to add in your community:<input
		type="text" required="true" id="userEmail" name="userEmail" /> <input
		type="submit" id="addUser" name="addUser"
		value="Add User" />

</form>
<br>

<form action="@{Communities.viewListOfTopCommunityContributors(community.id)}" method="POST">
View a list of top community contributors
<input type="submit" id= "submit2" name="View" value="View" />
</form>
						<form action="@{Communities.deleteCommunity(community.id)}" method="POST">
							<input type="submit"
							id="submit" name="submit" value="Delete This Community" />

</form>
</form>
						<form action="@{Communities.getAllSubscribers(community.id)}" method="POST">
							<input type="submit"
							id="submit" name="submit" value="Show all subscribers" />

</form>
</div>